package com.huike.service.system.impl;


import com.huike.mapper.system.SysConfigMapper;
import com.huike.result.Result;
import com.huike.service.system.SysConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class SysConfigServiceImpl implements SysConfigService {
    @Autowired
    private SysConfigMapper sysConfigMapper;
    @Override
    public Result SelectUserSPassword() {
        Long pwd = sysConfigMapper.selectUserSPassword();
        Result<Object> pwdResult = new Result<>();
        pwdResult.setCode(200);
        pwdResult.setMsg(pwd.toString());
        return  pwdResult ;
    }
}
